<?php
$default_fetch_mode = PDO::FETCH_ASSOC;

/** 考勤系统 **/
$config['attendance_master'] = array (
    'dsn'=>'mysql:host=192.168.191.126;dbname=attendance',

    'username' => 'admin',
    'password' => '12345678',

    'init_attributes' => array(),
    'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

    'default_fetch_mode' => $default_fetch_mode
);

/** 考勤系统只读 **/
$config['attendance_slave'] = array (
    'dsn'=>'mysql:host=192.168.191.126;dbname=attendance',

    'username' => 'admin',
    'password' => '12345678',

    'init_attributes' => array(),
    'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

    'default_fetch_mode' => $default_fetch_mode
);

/** 安居客门户 **/
$config['portal_master'] = array (
        'dsn'=>'mysql:host=192.168.191.126;dbname=portal',

        'username' => 'admin',
        'password' => '12345678',

        'init_attributes' => array(),
        'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

        'default_fetch_mode' => $default_fetch_mode
);

/** 安居客门户 **/
$config['portal_slave'] = array (
        'dsn'=>'mysql:host=192.168.191.126;dbname=portal',

        'username' => 'admin',
        'password' => '12345678',

        'init_attributes' => array(),
        'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

        'default_fetch_mode' => $default_fetch_mode
);

/** HR-OA系统 **/
$config['hroa_master'] = array (
        'dsn'=>'mysql:host=192.168.191.126;dbname=hroa',

        'username' => 'admin',
        'password' => '12345678',

        'init_attributes' => array(),
        'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

        'default_fetch_mode' => $default_fetch_mode
);

/** HR-OA系统 **/
$config['hroa_slave'] = array (
        'dsn'=>'mysql:host=192.168.191.126;dbname=hroa',

        'username' => 'admin',
        'password' => '12345678',

        'init_attributes' => array(),
        'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

        'default_fetch_mode' => $default_fetch_mode
);
$config['jx_master'] = array (
        'dsn'=>'mysql:host=192.168.191.126;dbname=PerformanceSystem',

        'username' => 'admin',
        'password' => '12345678',

        'init_attributes' => array(),
        'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

        'default_fetch_mode' => $default_fetch_mode
);

/** JX系统 **/
$config['jx_slave'] = array (
        'dsn'=>'mysql:host=192.168.191.126;dbname=PerformanceSystem',

        'username' => 'admin',
        'password' => '12345678',

        'init_attributes' => array(),
        'init_statements' => array('SET CHARACTER SET utf8','SET NAMES utf8'),

        'default_fetch_mode' => $default_fetch_mode
);